import { request } from '@/utils/request.js'
export default {
    tool_tranform_order(data) {
        return request({
          url: "/user/admin/tools/changeOrderUser",
          method: "post",
          data
        });
    },
    tool_update_aftersale(data) {
        return request({
          url: "/user/admin/tools/updateAfterOrderStatus",
          method: "post",
          data
        });
    },
    tool_update_paystate(data) {
        return request({
          url: "/user/admin/tools/updateOrderPayStatus",
          method: "post",
          data
        });
    },
    tool_edit_after_record_search(data) {
        return request({
          url: "/user/admin/tools/changeTuihuoAfterOrder?type=1",
          method: "post",
          data
        });
    },
    tool_edit_ex_record_search(data) {
        return request({
          url: "/user/admin/tools/changeHuanhuoAfterOrder?type=1",
          method: "post",
          data
        });
    },
    
    tool_edit_after_record_update(data) {
        return request({
          url: "/user/admin/tools/changeTuihuoAfterOrder",
          method: "post",
          data
        });
    },
    tool_edit_exchange_record(data) {
        return request({
          url: "/user/admin/tools/changeHuanhuoAfterOrder",
          method: "post",
          data
        });
    },
    tool_edit_exchange_record_config() {
        return request({
          url: "/user/admin/tools/changeHuanhuoAfterOrder",
          method: "get",
          
        });
    },
    tool_edit_phone_config(data) {
        return request({
          url: "/user/admin/tools/ajaxGetData",
          method: "post",
          data        
        });
    },
    
    
    
    

}